<ftp_filetime> : GetRemote File Time (FTP)

This command retrieves last modification time of a file on a remote FTP server.  The time is in form: "MM/DD/YYYY Hour:Minute:Second".  If necessary for further time processing, the time can be parsed using <var_parse> command.

Syntax: 

<ftp_filetime>("vFileTime", "RemoteFile", "UserName", "Password")

vFileTime
Variable that receives last file modification time in
"MM/DD/YYYY Hour:Minute:Second" form.

RemoteFile
Full path to the remote file (e.g., ftp://pitrinec.com/pub/hello.txt).

UserName
User login name.  If empty the "anonymous" is considered.

Password
User name login password.

Example: 

<#> This sample retrieves last modification time of file placed on remote FTP server
<#>
<cmds>

<ftp_filetime>("vFileTime","ftp://pitrinec.com/pub/hello.txt","","")
<msg>(-100,-100,"Last modification time of %_vQuoteChar%ftp://pitrinec.com/pub/hello.txt%_vQuoteChar% file is %vFileTime%.","Message",1)

<msg>(-100,-100,"Do you want to parse the time?","Message",2)
<if_str>("_vMsgButton==YES")
   <var_parse>("vFileTime","/ :","",vTimeItems,vNumberOfTimeItems)
   <begloop>(vNumberOfTimeItems)
      <msg>(-100,-100,"%vTimeItems[_vLoopCounter0]%","Time items:",1)
   <endloop>
<endif>